package com.zzq.dao.blog;

import com.zzq.pojo.Blog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BlogMapper {
    List<Blog> getAllBlog();
    int addBlog(@Param("blogName") String blogName,@Param("userName") String userName,@Param("releaseTime") String releaseTime);
    List<Blog> getUserBlog(@Param("userName") String userName);

}
